<?php
echo "Yiichenkuo/reg.php"."</br>";
echo CHtml::beginForm('reg','POST',array('id'=>'loginForm','name'=>'loginForm'));
echo CHtml::label('用户名',null,array('id'=>'usernamelabel'));
echo CHtml::textField('username',null,array('id'=>'username','name'=>'username'));
echo CHtml::label('密码',null,array('id'=>'userpasswordlabel'));
echo CHtml::passwordField('userpassword',null,array('id'=>'userpassword','name'=>'userpassword'));
echo Chtml::submitButton('提交登陆',array('id'=>'login','name'=>'login'));
echo CHtml::endForm();
echo Yii::app()->request->baseUrl;